package com.bdqn.membersystem.servicce.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.bdqn.membersystem.mapper.ReplyMapper;
import com.bdqn.membersystem.pojo.Reply;
import com.bdqn.membersystem.servicce.ReplyService;
@Service
public class ReplyServiceImpl implements ReplyService{

    @Resource
    private ReplyMapper replyMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return replyMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insertSelective(Reply record) {
        return replyMapper.insertSelective(record);
    }

    @Override
    public Reply selectByPrimaryKey(Long id) {
        return replyMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(Reply record) {
        return replyMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateBatch(List<Reply> list) {
        return replyMapper.updateBatch(list);
    }

    @Override
    public int batchInsert(List<Reply> list) {
        return replyMapper.batchInsert(list);
    }

    @Override
    public int insertOrUpdate(Reply record) {
        return replyMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(Reply record) {
        return replyMapper.insertOrUpdateSelective(record);
    }

}
